FrameLib  2.0
DSP processing with frames of arbitrary timing and length
FrameLib_ErrorReporter Class Reference

a class used to report errors to the host environment. More...

#include <FrameLib_Errors.h>

Inheritance diagram for FrameLib_ErrorReporter:
FrameLib_Global

Classes

class  ErrorList
 a list of ErrorReport objects. More...
 
class  ErrorReport
 a report for a single error. More...
 
class  HostNotifier
 a virtual struct used to supply a method for notifying the host of errors. More...
 

Public Member Functions

 FrameLib_ErrorReporter (HostNotifier *notifier)
 
template<typename... Args>
void reportError (ErrorSource source, FrameLib_Proxy *reporter, const char *error, Args... args)
 
std::unique_ptr< ErrorListgetErrors ()
 

Detailed Description

a class used to report errors to the host environment.

Constructor & Destructor Documentation

◆ FrameLib_ErrorReporter()

FrameLib_ErrorReporter::FrameLib_ErrorReporter ( HostNotifier notifier)
inline

Member Function Documentation

◆ getErrors()

std::unique_ptr< FrameLib_ErrorReporter::ErrorList > FrameLib_ErrorReporter::getErrors ( )

◆ reportError()

template<typename... Args>
void FrameLib_ErrorReporter::reportError ( ErrorSource  source,
FrameLib_Proxy reporter,
const char *  error,
Args...  args 
)
inline

The documentation for this class was generated from the following files: